﻿using System;
using System.Collections.Generic;
using System.Text;
using Mmht.DB;

namespace Mmht.BT
{
    public static class ViewHotBT
    {
        public static string getViewHostClass(object num)
        {
            int number = 0;
            try
            {
                number = int.Parse(num.ToString());
            }
            catch
            {
                return "viewhot1";
            }
            if (number < 20)
            {
                return "viewhot1";
            }
            if (number < 100)
            {
                return "viewhot2";
            }
            if (number < 200)
            {
                return "viewhot3";
            }
            if (number < 300)
            {
                return "viewhot4";
            }
            return "viewhot5";
        }

    }
}
